package com.yuyou.fn.educational.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.entity.StudentSchool;
import com.yuyou.fn.educational.vo.StudentSchoolQueryVo;
import com.yuyou.fn.educational.vo.StudentSchoolSaveOrUpdateVo;

import java.util.List;

/**
 *
 * StudentSchool 表数据服务层接口
 *
 */
public interface IStudentSchoolService extends ISuperService<StudentSchool,Long> {

    Page<StudentSchool> findStudentSchoolPageByQuery(StudentSchoolQueryVo studentSchoolQueryVo, int pageNo, int pageSize);

    Page<StudentSchool> findStudentSchoolForPage(String city, String schoolName , int pageNo, int pageSize);

    void saveOrUpdateStudentSchool(StudentSchoolSaveOrUpdateVo studentSchoolSaveOrUpdateVo);

    List<StudentSchool> searchStudentSchool(String query);

    StudentSchool findSchoolBySchoolName(String schoolName);

    List<StudentSchool> searchStudentSchool(String province, String city, String district, String query);
}